package com.example.userserver.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "SchoolInfoParams", description = "入参")
public class SchoolInfoParams {
    @ApiModelProperty(value = "城市id", example = "1", required = true)
    @NotBlank(message = "城市id不能为空")
    private String id;
    @ApiModelProperty(value = "城市id", example = "1", required = true)
    @NotBlank(message = "城市id不能为空")
    private String cityId;
    @ApiModelProperty(value = "学校名称", example = "1", required = true)
    @NotBlank(message = "学校名称不能为空")
    private String schoolName;

}
